package com.jy.api.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by hanxi on 2017/7/1.
 */

@Entity
@Data
@NoArgsConstructor
public class StoreType {
    @Id
    @Column(length = 50)
    private String id;
    private String code;
    private String name;
    @Column(insertable = false, updatable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date addTime;

}
